﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            List<int> ONE = new List<int>();
            //ONE.Add(12);
            Stopwatch sw = new Stopwatch();


            Random r = new Random();
            sw.Restart();
            for (int i = 0; i < 1000000; i++)
            {
                ONE.Add(r.Next(0,9));
            }
            sw.Stop();
            Console.WriteLine("список заполнился за " + sw.ElapsedMilliseconds);

            Console.ReadLine();
        }
    }
}
